#ifndef RUNNER_H
#define RUNNER_H

#include <vector>
#include "..\Evaluate\Evaluate.h"
#include "..\CoverageTable.h"

using namespace std;

class Runner
{
	int maxIter;           //max number of evoluation iteration
	Evaluate *evaluator;   //evaluator for population
	
public:
	Runner();
	Runner(int iterNum, CoverageTable *ct);
	~Runner();
	double GetCovPercent(vector<int>& pa);
	virtual int run(vector<vector<int>>&, vector<int>&)=0;
	Evaluate* GetEvaluator(){return evaluator;}
	int GetMaxIter(){return maxIter;}
};


#endif